<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>
        <h2 th:text="${result}"></h2><span th:text="'欢迎用户：' + ${sysUser?.username}"></span>
    </div>
    <div>
        <form action="" >
            用户编号：<input name="id" th:value="${sysUser?.id}"/><br>
            用户姓名：<input type="text" name="username" th:value="${sysUser?.username}" /><br>
            登陆密码：<input type="text" name="password" th:value="${sysUser?.password}" />
        </form>
        <button><a th:href="@{/logout}">退出登陆</a></button>
    </div>
</body>
</html>